import { useTable, LIST_TYPE } from '@crud/index';
// 查询
// 表格
export const useTableList = (options: any = {}) => {
  const columns: any = [
    { label: '充值金额', prop: 'total_fee', minWidth: 100, fixed: 'left' },
    { label: '充值方式', prop: 'trade_type', minWidth: 200, render: 'trade_type', align: 'center' },
    { label: '充值时间', prop: 'add_time', minWidth: 160, type: 'dateTime' }
  ];

  return useTable({
    ...options,
    type: LIST_TYPE.AGENCY,
    params: {
      colonelId: undefined
    },
    columns: columns
  });
};
